package com.say.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Service;

import com.say.bean.domain.Trace;
import com.say.dao.TraceDao;
import com.say.framework.core.common.service.BaseServiceImpl;
import com.say.service.TraceService;


@Service("traceService")
public class TraceServiceImpl extends BaseServiceImpl<Trace, String> implements TraceService {

    @Autowired
    public TraceDao traceDao;

    @Override
    public PagingAndSortingRepository<Trace, String> getDao() {
        return traceDao;
    }

	@Override
	public Trace getTraceByFriendsUserId(String userId) {
		return traceDao.getTraceByFriendsUserId(userId);
	}

	
   
	
}
